<?php  echo $_SERVER['SCRIPT_NAME']."<BR>"; ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="../include/main.css" rel="stylesheet" type="text/css">
</head>
<body>
<table width="100%"  border="0" cellspacing="6" cellpadding="6">
  <tr>
    <td width="46%"></td>
    <td width="54%"><div align="right" class="txt24bb_white">The print() Function </div></td>
  </tr>
</table>
<br>
<br>
<table width="500" border="0" align="center" cellpadding="1" cellspacing="1" class="tbl_border">
  <tr>
    <td><table width="100%"  border="0" cellpadding="0" cellspacing="0" class="tbl_gray_wborder">
        <tr>
          <td><div align="center">
              <p align="left">
<?php
	// You can use parenthesis or you don't have to. It is up to you!
	print ("Hello World! (with parenthesis)<BR><BR>");
	print "Hello World!<BR><BR>";
	
	print "This text	spans multiple lines.
	The newlines will be output, as well.
	But, when outputing for HTML rendering you need to add HTML tags!";
	
	print "<BR><BR><BR>";
	
	print "This spans<BR>
	multiple lines but adds HTML hard breaks!<BR>
	Add any HTML code and as much as you want!<BR> It is all just text!<BR><BR>";
			
	// You can use variables inside of an print statement
	$foo = "Hi World!<BR>";
	$hello = "Hello World!<BR><BR>";
	
	print "foo is $foo"; // foo is $foo
	print "hello is $hello"; // hello is $hello
	
	// Single quotes will work differently!
	// They print the variable name, not the value!!
	print 'hello is $hello'; // hello is $hello
	
	// you can NOT USE comma seperated list of variables. Use echo instead!
	// These generate errors:
	// print $foo,$hello;
	// print 'This ', 'quick ', 'brown ', 'fox ', 'jumped over the lazy dog.', '<BR>';
	// print "(again, ", "and again!)";

?>
</p>
              </div></td>
        </tr>
    </table></td>
  </tr>
</table>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
</body>
</html>